//
//  GetPagingDataList.h
//  YinHang
//
//  Created by 张亚哲 on 14/10/27.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import <Foundation/Foundation.h>

@class PagingData;

@protocol PagingDataListServiceDelegate <NSObject>

- (void)didRecieveData;

- (void)didRecieveMsg;

@end

@interface GetPagingDataList : NSObject


@property (nonatomic,assign) BOOL isQuery;

@property (nonatomic,weak) id<PagingDataListServiceDelegate> delegate;

@property (nonatomic,strong)PagingData *pageInfo;

@property (nonatomic,copy)NSString *action;

@property (nonatomic,copy)NSString *kind;

@property (nonatomic,copy)NSString *type;

// 取消网络访问
- (void)cancelRequest;

// 加载数据
- (void)pageQuery;

-(id)initWithAction:(NSString *)action Kind:(NSString *)kind;
/**
 *  账户记录查询
 *
 *  @param action action
 *  @param type   支出 @“0” 汇入@“1”
 *
 *  @return ...
 */
-(id)initWithAction:(NSString *)action Type:(NSString *)type;

@end
